Activities

org.eclipse.ui.iconactivities

3.0

The org.eclipse.ui.activities extension point is used to declare activities and associated elements.

<!ELEMENT extension (activity , activityActivityBinding , activityPatternBinding , category , categoryActivityBinding)>

<!ATTLIST extension

id    CDATA #IMPLIED

name  CDATA #IMPLIED

point CDATA #REQUIRED>


<!ELEMENT activity EMPTY>

<!ATTLIST activity

description CDATA #IMPLIED

id          CDATA #REQUIRED

name        CDATA #REQUIRED>

This element is used to define activities. If more than one of these elements exist with the same id attribute, only the last declared element (in order of reading the registry) is considered valid.



<!ELEMENT activityActivityBinding EMPTY>

<!ATTLIST activityActivityBinding

childActivityId  CDATA #REQUIRED

parentActivityId CDATA #REQUIRED>

This element allows one to bind activities to activities. The parent-child relationship can be interpreted as 'parent requires child'.



<!ELEMENT activityPatternBinding EMPTY>

<!ATTLIST activityPatternBinding

activityId CDATA #REQUIRED

pattern    CDATA #REQUIRED>

This element allows one to bind activities to patterns.



<!ELEMENT category EMPTY>

<!ATTLIST category

description CDATA #IMPLIED

id          CDATA #REQUIRED

name        CDATA #REQUIRED>

This element is used to define categories. If more than one of these elements exist with the same id attribute, only the last declared element (in order of reading the registry) is considered valid.



<!ELEMENT categoryActivityBinding EMPTY>

<!ATTLIST categoryActivityBinding

activityId CDATA #REQUIRED

categoryId CDATA #REQUIRED>

This element allows one to bind categories to activities.



The plugin.xml file in the org.eclipse.ui plugin makes use of the org.eclipse.ui.activities extension point.

There is currently no public API for declaring activities or associated elements other than this extension point.


Copyright (c) 2000, 2003 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html